package com.asset.dispoal.flawPool.service.converter;

import com.asset.dispoal.flawPool.domain.db.entity.FlawPoolDo;
import com.asset.dispoal.flawPool.dto.FlawPoolRequest;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author qr
 * @date 2022/5/23$
 */
@Mapper
public interface FlawPoolConverter {

    FlawPoolConverter INSTANCE = Mappers.getMapper(FlawPoolConverter.class);


    /**
     * 请求转试实体
     *
     * @param request
     * @return
     */
    FlawPoolDo reqToDo(FlawPoolRequest request);


}
